using System;
using System.Collections.Generic;
using System.Text;
using DAP;
using Dominio;
using System.Collections;

namespace Presenters
{
    public class BugListPresenter
    {
        private BugRepository repository;

        public BugListPresenter()
        {
            repository = new BugRepository();
        }
        public IList<Bug> loadBugList()
        {
            return repository.getBugList();
        }
        public IList<Bug> loadFilteredBugList(String type, String status, String key)
        {
            return repository.getFilteredBugList(type, status, key);
        }

        public void UpdateBug(ICollection newValues) 
        { 
           // Bug bug = new Bug();
           // bug.Description = newValues[
           // repository.
        }

    }
}
